// pages/mine/index.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
	  user: { headimg:"/images/index5-1.png",name: "夏日冰飘", intro: "活就像一杯茶回味无穷...",integral:"2567",card:"18"},
	  tab:[
		  {url:"mystore/index",img:"/images/mine1.png",txt:"我的店铺"},
		  { url: "certification/index", img: "/images/mine2.png", txt: "认证中心" },
		  { url: "mystore/myincome/index", img: "/images/mine3.png", txt: "我的业务" },
		  { url: "mybill/index", img: "/images/mine4.png", txt: "我的账单" },
		  { url: "mycollection/index", img: "/images/mine5.png", txt: "我的收藏" },
		  { url: "/pages/smart/mycode", img: "/images/mine6.png", txt: "我的兑换码" },
		  { url: "evaluation/index", img: "/images/mine7.png", txt: "我的评价" },
		  { url: "carfile/index", img: "/images/mine8.png", txt: "车辆档案" },
		  { url: "setting/index", img: "/images/mine9.png", txt: "设置" },
		  ]
  },
 editmine:function(){
   wx.navigateTo({
	   url: 'editmine',
   })
 },
  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {

  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {

  }
})